<!--include:header-->
<script type="text/javascript">
function $(id){
	return document.getElementById(id);
}
function updateseccode() {
	var rand = Math.random();
	$('seccodeimage').innerHTML = '<img id="seccode" onclick="updateseccode()" src="include/authnum.php?r=' + rand + '" class="codeimg" alt="单击图片换张图片" />';
}
</script>
<div id="m_Body">
<div id="wrapper">
<div class="news-full">
<div class="news-body">
<h2 class="title">注册</h2>
<!--if:($options['closereg'])-->
<p>对不起, 目前系统禁止新用户注册. 请返回...</p>
<!--else-->
<p>注册后, 您的用户名得到保护, 别人无法使用您的名字发表任何评论, <br />
  如果填写了备选信息, 系统在您发表评论时, 自动填写.</p>
<form action="post.php" method="post" onsubmit="return checkloginform();">
  <input type="hidden" name="action" value="registerok" />
  <input type="hidden" name="formhash" value="$formhash" />
  <div class="formbox">
  <p>
    <label for="username">用户名(*):<br />
    <input name="username" id="username" size="54" maxlength="20" tabindex="1" value="" class="formfield" />
    </label>
  </p>
  <p>
    <label for="password">密码(*):<br />
    <input name="password" id="password" type="password" size="54" maxlength="20" tabindex="2" value="" class="formfield" />
    </label>
  </p>
  <p>
    <label for="confirmpassword">确认密码(*):<br />
    <input name="confirmpassword" id="confirmpassword" type="password" size="54" maxlength="20" tabindex="3" value="" class="formfield" />
    </label>
  </p>
  <p>
    <label for="email">电子邮件:<br />
    <input name="email" id="email" type="text" size="54" maxlength="100" tabindex="4" value="" class="formfield" />
    </label>
  </p>
  <!--if: ($options['seccode_enable'])-->
  <p>
    <label for="clientcode">验证码(*):<br />
          <input onfocus="updateseccode();this.onfocus = null;" name="clientcode" id="clientcode" value="" tabindex="3" class="txtinput" size="6" maxlength="6" />
          <span id="seccodeimage"></span>
  </p>
  <!--/if-->
  <p>
    <label for="submit">
    <button name="submit" id="submit" type="submit" class="formbutton">确定</button>
    </label>
  </p>
  </div>
</form>
<!--/if-->
</div>
</div>
</div>
</div>
</div>
<!--include:footer-->
